<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        body{
            padding: 0;
            margin: 0;
            /*background-color: #F8F8F8;*/
        }
        .main{
            display: flex;
            flex-flow: row wrap;
            justify-content: flex-start;
            align-items: flex-start;
        }
        .item{
            width: calc(calc(100% / 7));
            background: #ffffff;
            margin: 2% 0 0 2%;
            box-shadow:0 0px 15px 1px rgba(215,215,215,0.50);
        }
        .item img{
            width: 100%;
        }
        .goods_name{
            background: #f8f8f8;
            box-shadow:0 0px 15px 1px rgba(215,215,215,0.50);
            padding: 10px;
            color: #333;
        }

        .text-truncate {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
    </style>
</head>
<body>
<div class="main">
    {volist name="data" id="v"}
    <div class="item">
        <img src="{$v.thumb_url|get_file_path}">
        <div class="goods_name text-truncate">{$v.goods_name}</div>
    </div>
    {/volist}
</div>
</body>
</html>